#100以内逢7过，不打印带7的或者7的倍数
i=0
while i<100:
    i+=1
    if i % 7 == 0 or i % 10 == 7 or i // 10 == 7:
        continue
    else:
        print(i)